/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package assignment2.pkg1;


/**
 *
 * @author MBoon
 */
public class Server {

    private Customer customer;
    
    public Server() {
        customer = null;
    }
    
    public boolean isOccupied() {
        return customer != null;
    }
    
    public void setCustomer(Customer c) {
        this.customer = c;
    }
    
    public Customer removeCustomer() {
        Customer c = customer;
        customer = null;
        return c;
    }
    
    
    
    
}
